package com.xf.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xf.common.core.domain.DmpResult;
import com.xf.common.core.entity.dmp.DmpAuthRole;

/**
 * @author JoeyLiu
 * @create 2022-04-20 16:31
 */
public interface DmpAuthRoleService extends IService<DmpAuthRole> {

    IPage<DmpAuthRole> page(IPage page, String roleName, Integer state);

    DmpAuthRole getByIdWith(Long id);

    DmpResult assign(DmpAuthRole role);

    DmpResult insert(DmpAuthRole authRole);

    DmpResult removeByRoleId(Long id);

    DmpResult updateByRole(DmpAuthRole role);

}



